package com.hexu.event.service;

import com.hexu.event.dao.RegisterDao;
import com.hexu.event.entity.User;

public class RegisterService {
    //创建Dao层对象
    private RegisterDao registerDao = new RegisterDao();


    public boolean addUser(User user){
        return registerDao.addUser(user);
    }

    public boolean existPhoneNumber(String phoneNumber){
        return registerDao.existPhoneNumber(phoneNumber);
    }

}
